<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" errorPage="500.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>登录</title>
	<link rel="stylesheet" href="css/login_css/reset.css">
	<link rel="stylesheet" href="css/login_css/login.css">
	<link rel="stylesheet" href="css/login_css/iconfont.css">
	<link rel="stylesheet" href="css/login_css/xiaotubiao/iconfont.css">
	<link rel="stylesheet" href="css/common.css">
	<!-- 小图标 -->
  	<link rel="icon" href="css/favicon.ico" type="image/x-icon" />
	<script src="js/jquery-1.12.4.js"></script>
</head>
<body>
	<!-- 头部 -->
	<div class="header">
    	<div class="header-inner">
	      	<h1>
	        	<a href="index.html" class="logo">太平洋影城</a>
	      	</h1>
      		<div class="nav">
	        	<ul class="navbar">
		          	<li>
		            	<a href="index">首页</a>
		          	</li>
	          		<li>
	            		<a href="hotFilm.do">电影</a>
	          		</li>
	          		<li>
	            		<a href="#">影院</a>
	          		</li>
	          		<li>
	            		<a href="#">演出</a>
	          		</li>
		          	<li>
		            	<a href="billboard.do">榜单</a>
		          	</li>
	          		<li>
	            		<a href="#">热点</a>
	          		</li>
	          		<li>
	            		<a href="#">商城</a>
	          		</li>
	        	</ul>
      		</div>
      		<div class="user-info">
        		<div class="user-avatar J-login">
	          		<c:choose>
	       				<c:when test="${sessionScope.userLogin !=null}">
	         				<img src="${sessionScope.userLogin.uImg}">
	       				</c:when>
	       				<c:otherwise>
	         				<img src="img/top_img/default_head.png">
	       				</c:otherwise>
	     			</c:choose>
	     			<span class="caret"></span>
	     			<c:choose>
	       				<c:when test="${sessionScope.userLogin !=null}">
	         				<ul class="user-menu yes-login-menu">
					           	<li class="text">
					             	<a href="order.do?uid=${sessionScope.userLogin.uId}">我的订单</a>
					           	</li>
					           	<li class="text login-name" >
					             	<a href="userEssential.do?uId=${sessionScope.userLogin.uId}">基本信息</a>
					           	</li>
					           	<li class="text">
					             	<a href="exit.do" class="J-logout">退出登录</a>
					           	</li>
	         				</ul>
	       				</c:when>
				       	<c:otherwise>
				         	<ul class="user-menu no-login-menu">
					           	<li>
					           		<a href="login.jsp">登录</a>
					           	</li>
				         	</ul>
				       	</c:otherwise>
	     			</c:choose>
      			</div>
    		</div>
		    <form action="searchFilm.do" method="post" class="search-form">
		      	<input name="kw" class="search" type="search" maxlength="32" placeholder="找影视剧、影人、影院">
		      	<input class="submit" type="submit" value="">
		    </form>
    		<div class="app-download">
		      	<a href="#">
		        	<span class="iphone-icon"></span>
		        	<span class="apptext">APP下载</span>
		        	<span class="caret"></span>
		        	<div class="download-icon">
		          		<p class="down-title">扫码下载APP</p>
		          		<p class="down-content">选座更优惠</p>
		        	</div>
		      	</a>
    		</div>
  		</div>
	</div>
	<div class="content">
		<div class="topTitle">
			

		</div>
		<div class="login_content">
			<div class="title-line">
				<span class="tit">登录</span>
			</div>
			<div class="login-info">
				<div class="rigth_img">
					<img src="img/login_img/login.jpg" alt="">
				</div>
				<div class="left_login_content">
					<div class="login-tab">
						<a  href="#" class="tab-item">
							<span onclick="dj()" style="width:100%;height:100%;display:inline-block;">扫码登录</span>
							
							<i id="iss"></i>
						</a>
						<a href="#" class="tab-item">
							<span onclick="dj1()" style="width:100%;height:100%;display:inline-block;">账户登录</span>
							<i id="iss1"></i>
						</a>
					</div>
						<div class="pc_login">
							<div class="username-login">
								<div class="doop" id="doop">
									<form action="login.do" method="post" >
										<div class="username-box">
											<span  class="iconfont icon-yonghu spans"></span>
											<span >
												<input class="myspan" type="text" placeholder="请输入用户名" name="username">
											</span>
										</div>

										<div class="password-box username-box">
											<span  class="iconfont icon-mima spans"></span>
											<span >
												<input class="myspan" type="password" placeholder="请输入密码" name="password">
											</span>
                                            <div class="loginMsg">${msg}</div>
										</div>

										<div class="login_button">
											<a href="" class="login-switch">
												<span class="iconfont icon-duanxin"></span>
												<span class="span_class">短信验证登录</span>
											</a>

											<a href="" class="login-switchs">
												<span class="span_class">忘记密码?</span>
											</a>
										</div>
										<div class="tijiao">
											<input type="submit" value="登录" class="submit_btn">
										</div>
									</form>
									<div class="free-reg">
										<a href="register.jsp">注册 有惊喜-></a>
									</div>
								</div>


								<div class="doop1" id="doop1">
									<div class="erweima">
										<div class="weixin_img">
											<img class="weixin_img" src="img/weixin.jpg" alt="">
										</div>
									</div>
									<div class="saoma_login">
										<span class="iconfont icon-saoma"></span>
										<span>打开
											<span class="oppen">微信App</span>
										扫码加好友</span>
									</div>
									<div class="free-reg">
										<a href="register.jsp">注册 有惊喜-></a>
									</div>
								</div>



								<div class="login-doop">
									<div class="bind-login">
										<span class="title">使用以下账号登录</span>
									</div>
									<div class="button_login">
										<span>
											
											<span  class="iconfont icon-QQ1">
												<a href="">QQ</a>
											</span>
											<span class="sss"></span>
										</span>
										<span>
											<span  class="iconfont icon-weixin">
												<a href="">微信</a>
											</span>
											<span class="sss"></span>
										</span>
										<span>
											<span  class="iconfont icon-zhifubao">
												<a href="">支付宝</a>
											</span>
											<span class="sss"></span>
										</span>
										<span>
											<span  class="iconfont icon-weibo">
												<a href="">微博</a>
											</span>
										</span>
									</div>
								</div>
							</div>
						</div>
				</div>
			</div>
			
		</div>

	</div>
<!-- 底部 -->
	<div class="footer">
    	<div class="content">
      		<div class="moduleBox">
        		<div class="informationBox">
          			<div class="copy_van">
            			<a class="ycgg" href="">
            				<span>影城公告</span>
            			</a>
            			<ul>
              				<li>影城公告</li>
            			</ul>
          			</div>
          			<div class="copy_van">
            			<a class="ycgg" href="">
            				<span>会员中心</span>
            			</a>
			            <ul>
			              	<li>加入会员</li>
			              	<li>会员活动</li>
			              	<li>会员优惠</li>
			            </ul>
          			</div>
          			<div class="copy_van">
            			<a class="ycgg" href="">
            				<span>影片资讯</span>
            			</a>
			            <ul>
			              	<li>正在热映</li>
			              	<li>即将上映</li>
			            </ul>
          			</div>
		          	<div class="copy_van">
		            	<a class="ycgg" href="">
		            		<span>影城活动</span>
		            	</a>
		            	<ul>
		              		<li>影城活动</li>
		              		<li>电影资讯</li>
		            	</ul>
		          	</div>
		          	<div class="copy_van">
		            	<a class="ycgg" href="">
		            		<span>关于我们</span>
		            	</a>
			            <ul>
			              	<li>影城介绍</li>
			              	<li>影院介绍</li>
			              	<li>联系我们</li>
			            </ul>
		          	</div>
        		</div>
        		<div class="abc">
          			<div class="textFloat">
            			<div class="erwei1">
                        	<span class="spans ">
                               	<img class="img1" src="img/foot_img/wxerweima.png" alt="">
                            </span>
              				<span class="spans spanss">
                            	<a href="">微信在线购票</a>
                            </span>
            			</div>
            			<div class="erwei2">
                            <span class="spans">
                        		<img class="img1" src="img/foot_img/xcx.jpg" alt="">
                            </span>
              				<span class="spans spanss">
                                <a href="">小程序在线购票</a>
                            </span>
            			</div>
          			</div>
        		</div>
        		<div class="right_information">
		          	<ul class="ul1">
		            	<li class="lis1">连锁热线：</li>
		            	<li class="lis2">400-850-3366</li>
		          	</ul>
		          	<ul class="ul1">
		            	<li class="lis3">官方微信：</li>
		            	<li class="lis4">搜索“猫眼电影”</li>
		          	</ul>
        		</div>
		        <div class="top_btn">
                    <span>
                       	<a href="javascript:void(0)" id="top">TOP</a>
                    </span>
		        </div>
      		</div>
	      	<div class="foot_text">
	       		<div class="foot"> 版权所有(C)猫眼电影投资有限公司　　技术支持：3-1-501</div>
      		</div>
    	</div>
  	</div>
</body>
<script src="js/common.js"></script>
<script>
	function dj(){
		document.getElementById("doop1").style.display="block";
		document.getElementById("doop").style.display="none";
		document.getElementById("iss").style.display="block";
		document.getElementById("iss1").style.display="none";
	}
	function dj1(){
		document.getElementById("doop1").style.display="none";
		document.getElementById("doop").style.display="block";
		document.getElementById("iss1").style.display="block";
		document.getElementById("iss").style.display="none";
	}
</script>
</html>
